home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / OBJ1_2.ZIP;1 / C_COLOR.TXT < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.1 KB  |  32 lines

  1. '
  2. 'Class desription:
  3. '
  4. !short:Color Class structure:
  5. Class Color:
  6. ~~~~~~~~~~~~~
  7. This class creates during library initialisation the public variable m->Color,
  8. as a instance of the class Color. This public variable contain a current color
  9. palette. The whole library object.lib uses only this colors (of public
  10. variable m->Color). Look at the constants defined in Object.ch and the
  11. public variables of the library and this class source code.
  12.  
  13. Source code of the class Color is in  C_Color.prg
  14.  
  15. !seealso: ob_basic.ngo:m->tColor ob_basic.ngo:m->Color ob_comma.ngo:Constants ob_class.ngo:"Class hierarchy"
  16.  
  17. !short:~~~~~~~~~~~~~~~~~~~~~~~
  18. !short:create class Color
  19. !short:  export:
  20. !short:  var Black  //black/white colors for dos window
  21. !short:  var Desk   //Desktop colors
  22. !short:  var Edit   //editing window colors
  23. !short:  var View   //view (non-editing) window colors
  24. !short:  var Help   //help text window colors
  25. !short:  var Menu   //menu system colors
  26. !short:  method New=ColorNew   //o:New() --> self
  27. ^BColor:New()^N: public: return self
  28.   Object is filled with default values.
  29.  
  30. !short:  endclass
  31.  
  32.